package org.chen.service;

import org.chen.common.model.travel.StoreTravelOrder;
import org.chen.common.request.OrderRefundApplyRequest;
import org.chen.common.request.OrderTravelPayRequest;
import org.chen.common.response.OrderTravelPayResultResponse;

import java.io.IOException;

public interface OrderPayTravelService {
    /**
     * 支付成功处理(旅游)
     * @param storeOrder 订单
     */
    Boolean paySuccess(StoreTravelOrder storeOrder);

    /**
     * 订单支付（旅游）
     * @param orderPayRequest 支付参数
     * @param ip    ip
     * @return OrderPayResultResponse
     */
    OrderTravelPayResultResponse payment(OrderTravelPayRequest orderPayRequest, String ip);

    String queryPayResult(String orderNo) throws IOException;
}
